Remove relic from pre-cet time.
authoroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 27 Jan 2006 00:27:49 +0000 (00:27 +0000)
committeroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 27 Jan 2006 00:27:49 +0000 (00:27 +0000)
gpsbabel/gdb.c

index 67df8177b4d27fd39ceaac2fa81d80d9a6a8484d..58b6f5a37c947fc456e2ba7dba7069a2bf1a515f 100644 (file)
@@ -991,9 +991,8 @@ gdb_fwrite_str(const char *str, const int len)
            gdb_fwrite(str, len);       /* write a string with fixed length */
        else
        {
-           char *tmp = str_utf8_to_cp1252((str != NULL) ? str : "");
+           char *tmp = (str != NULL) ? (char *)str : "";
            gdb_fwrite(tmp, strlen(tmp) + 1);
-           xfree(tmp);
        }
 }